package com.lcn.consumer.lcnconsumer.feign;

import com.lcn.consumer.lcnconsumer.bean.Depart;
import org.springframework.stereotype.Component;

//@Component
public class CollBack implements DepartFeign {

    @Override
    public boolean saveDepart(Depart depart) {
        System.out.println("进入断路器-save。。。");
        throw new RuntimeException("save 保存失败.");
    }
}
